package com.pz.cloud.framework.business.researchProj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

@Data
@TableName("research_project_director")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="科研项目负责人", description="科研项目负责人")
public class ResearchProjectDirector {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "关联项目id")
    @Excel(name = "关联项目id", width = 15)
    private String projectId;

    @ApiModelProperty(value = "负责人用户id")
    private String directorId;

    @ApiModelProperty(value = "姓名")
    @Excel(name = "姓名", width = 15)
    private String name;

    @ApiModelProperty(value = "学号")
    @Excel(name = "学号", width = 15)
    private String stdNo;

    @ApiModelProperty(value = "所属学院")
    @Excel(name = "所属学院", width = 15)
    private String college;

    @ApiModelProperty(value = "专业")
    @Excel(name = "专业", width = 15)
    private String major;

    @ApiModelProperty(value = "身份证号码")
    @Excel(name = "身份证号码", width = 15)
    private String idCard;

    @ApiModelProperty(value = "年级")
    @Excel(name = "年级", width = 15)
    private String grade;

    @ApiModelProperty(value = "班级")
    @Excel(name = "班级", width = 15)
    private String clazz;

    @ApiModelProperty(value = "性别")
    @Excel(name = "性别", width = 15)
    @Dict(dicCode = "sex")
    private Integer sex;

    @ApiModelProperty(value = "电话")
    @Excel(name = "电话", width = 15)
    private String phone;

    @ApiModelProperty(value = "邮箱")
    @Excel(name = "邮箱", width = 15)
    private String email;
}
